package com.eshore.config;

import com.eshore.common.service.impl.WorkflowServiceMockImpl;
import com.eshore.workflow.service.WorkflowService;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 李仲允
 * @date 2022/5/5 08:36
 */
@Configuration
public class WorkflowConfig {

    @Bean @Qualifier("workflowServiceMock")
    public WorkflowService  getWorkflowService() {
        return new WorkflowServiceMockImpl();
    }

}
